#include <iostream>
#include "DoubleLinkList.h"


void PrintInt(void *ptr)
{
    printf("%ld ",(long)ptr);
}

int main()
{
    DoubleLinkList list;
    for(int i = 1; i <= 10; i++)
    {
        list.InsertDLlistTail((void*)i);
    }
    list.TravelDLlist(PrintInt);
    return 0;
}